import {Camera} from './camera-info.tsx'

export interface BuildingInfoData {
  createBy: string
  createTime: string | number
  updateBy: string
  updateTime: string | number
  remark: string
  id: number
  name: string
  phone: string
  del: boolean | null
  floors: Floor[] | null
  managers: any[]
}

export interface Floor {
  createBy: string
  createTime: string | number
  updateBy: string
  updateTime: string | number
  remark: string | number
  id: number
  name: string
  del: string | number
  rooms: Room[] | null
}

export interface Room {
  createBy: string
  createTime: string | number
  updateBy: string
  updateTime: string | number
  remark: string | number
  id: number
  userId: number
  name: string
  del: string | number
  camera: Camera | null
}
